package com.chansos.dubbogo.common;

public enum DatabaseDialect {
    Mysql("MySQL", "mysql", true),
    PostgreSQL("Postgres", "postgres", false),
    SQLServer("SQL Server", "sqlserver", false),
    Clickhouse("Clickhouse", "clickhouse", false);

    private final String name;
    private final String alias;
    private final boolean selected;

    public String getName() {
        return name;
    }

    public String getAlias() {
        return alias;
    }

    public boolean isSelected() {
        return selected;
    }

    DatabaseDialect(String name, String alias, boolean selected) {
        this.name = name;
        this.alias = alias;
        this.selected = selected;
    }
}
